//
//  TestSubmitAlertView.h
//  JPWords
//
//  Created by 梁淑婷 on 2024/6/5.
//

#import "JPCustomView.h"

NS_ASSUME_NONNULL_BEGIN

@interface TestSubmitAlertView : JPCustomView

@property(nonatomic,copy)NSString *title;
@property(nonatomic,copy)NSString *leftTitle;
@property(nonatomic,copy)NSString *rightTitle;
@property(nonatomic,strong)UIColor *leftColor;
@property(nonatomic,strong)UIColor *rightColor;
@property(nonatomic,strong)UIFont *titleFont;
@property(nonatomic,strong)UIFont *leftFont;
@property(nonatomic,strong)UIFont *rightFont;
@property(nonatomic,copy)void(^rightBlock)(void);
@property(nonatomic,copy)void(^leftBlock)(void);
@property(nonatomic,assign)CGFloat currentAvailableWidth;
@property(nonatomic,assign)CGFloat currentAvailableHeight;

-(void)refreshWidth;
-(instancetype)initWithFrame:(CGRect)frame andTitle:(NSString*)title andLeftTitle:(NSString*)leftTitle andleftColor:(UIColor*)leftColor andRightTitle:(NSString*)rightTitle andRightColor:(UIColor*)rightColor andTitleFont:(UIFont*)titleFont andLeftFont:(UIFont*)leftFont andRightFont:(UIFont*)rightFont;


@end

NS_ASSUME_NONNULL_END
